package com.example.viewmodelstudio.databinding2;

import androidx.appcompat.app.AppCompatActivity;
import androidx.databinding.DataBindingUtil;
import androidx.databinding.ViewDataBinding;

import android.os.Bundle;

import com.example.viewmodelstudio.R;
import com.example.viewmodelstudio.databinding.ActivityMain6Binding;

public class MainActivity6 extends AppCompatActivity {

    private ActivityMain6Binding viewDataBinding;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main6);
        viewDataBinding = DataBindingUtil.setContentView(this, R.layout.activity_main6);
        viewDataBinding.setUserViewModel(new UserViewModel());

    }
}